package com.buss.admin.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;

/**
 * @Title: Entity
 * @Description: 后台
 * @author zhangdaihao
 * @date 2016-04-09 10:04:17
 * @version V1.0
 *
 */
@Entity
@Table(name = "hx_auth_function", schema = "")
@DynamicUpdate(true)
@DynamicInsert(true)
@SuppressWarnings("serial")
public class AuthFunctionEntity implements java.io.Serializable {
	/** id */
	private java.lang.String id;
	/** pid */
	private java.lang.String pId;
	/** zindex */
	private java.lang.Integer zindex;

	/** name */
	private java.lang.String name;
	/** code */
	private java.lang.String code;
	/** description */
	private java.lang.String description;
	/** page */
	private java.lang.String page;
	/** generatemenu */
	private java.lang.String generatemenu;

	/**
	 * 方法: 取得java.lang.String
	 * 
	 * @return: java.lang.String id
	 */

	@Id
//	@GeneratedValue(generator = "paymentableGenerator")
//	@GenericGenerator(name = "paymentableGenerator", strategy = "uuid")
	@Column(name = "ID", nullable = false, length = 32)
	public java.lang.String getId() {
		return this.id;
	}

	/**
	 * 方法: 设置java.lang.String
	 * 
	 * @param: java.lang.String
	 *             id
	 */
	public void setId(java.lang.String id) {
		this.id = id;
	}

	/**
	 * 方法: 取得java.lang.String
	 * 
	 * @return: java.lang.String pid
	 */
	@Column(name = "PID", nullable = true, length = 32)
	public java.lang.String getpId() {
		return this.pId;
	}

	/**
	 * 方法: 设置java.lang.String
	 * 
	 * @param: java.lang.String
	 *             pid
	 */
	public void setpId(java.lang.String pId) {
		this.pId = pId;
	}

	/**
	 * 方法: 取得java.lang.Integer
	 * 
	 * @return: java.lang.Integer zindex
	 */
	@Column(name = "ZINDEX", nullable = true, precision = 10, scale = 0)
	public java.lang.Integer getZindex() {
		return this.zindex;
	}

	/**
	 * 方法: 设置java.lang.Integer
	 * 
	 * @param: java.lang.Integer
	 *             zindex
	 */
	public void setZindex(java.lang.Integer zindex) {
		this.zindex = zindex;
	}

	/**
	 * 方法: 取得java.lang.String
	 * 
	 * @return: java.lang.String name
	 */
	@Column(name = "NAME", nullable = true, length = 255)
	public java.lang.String getName() {
		return this.name;
	}

	/**
	 * 方法: 设置java.lang.String
	 * 
	 * @param: java.lang.String
	 *             name
	 */
	public void setName(java.lang.String name) {
		this.name = name;
	}

	/**
	 * 方法: 取得java.lang.String
	 * 
	 * @return: java.lang.String code
	 */
	@Column(name = "CODE", nullable = true, length = 255)
	public java.lang.String getCode() {
		return this.code;
	}

	/**
	 * 方法: 设置java.lang.String
	 * 
	 * @param: java.lang.String
	 *             code
	 */
	public void setCode(java.lang.String code) {
		this.code = code;
	}

	/**
	 * 方法: 取得java.lang.String
	 * 
	 * @return: java.lang.String description
	 */
	@Column(name = "DESCRIPTION", nullable = true, length = 255)
	public java.lang.String getDescription() {
		return this.description;
	}

	/**
	 * 方法: 设置java.lang.String
	 * 
	 * @param: java.lang.String
	 *             description
	 */
	public void setDescription(java.lang.String description) {
		this.description = description;
	}

	/**
	 * 方法: 取得java.lang.String
	 * 
	 * @return: java.lang.String page
	 */
	@Column(name = "PAGE", nullable = true, length = 255)
	public java.lang.String getPage() {
		return this.page;
	}

	/**
	 * 方法: 设置java.lang.String
	 * 
	 * @param: java.lang.String
	 *             page
	 */
	public void setPage(java.lang.String page) {
		this.page = page;
	}

	/**
	 * 方法: 取得java.lang.String
	 * 
	 * @return: java.lang.String generatemenu
	 */
	@Column(name = "GENERATEMENU", nullable = true, length = 255)
	public java.lang.String getGeneratemenu() {
		return this.generatemenu;
	}

	/**
	 * 方法: 设置java.lang.String
	 * 
	 * @param: java.lang.String
	 *             generatemenu
	 */
	public void setGeneratemenu(java.lang.String generatemenu) {
		this.generatemenu = generatemenu;
	}
}
